ARM: at91: Don't invoke spl_boot_device() twice
authorMarek Vasut <[email protected]>
Sat, 14 May 2016 21:42:28 +0000 (23:42 +0200)
committerAndreas Bießmann <[email protected]>
Sun, 26 Jun 2016 18:17:22 +0000 (20:17 +0200)
commit968ebdf1ef1493a9095cbc00934d608c624bcad4
tree3d1946942d09db188224eca2a0f2403a72f4ab73
parent2b1cdafa9fdd0c88eb1bc96e9330e252c9795689
ARM: at91: Don't invoke spl_boot_device() twice

Since the spl_boot_mode() is now passed the boot device to boot from,
make use of it instead of inquiring for the boot device again. This
allows board_boot_order() to function correctly.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Andreas Bießmann <[email protected]>
Reviewed-by: Andreas Bießmann <[email protected]>
arch/arm/mach-at91/spl.c